<?php

namespace app\common\model;


use think\Model;

class UserPromoteModel extends Model
{
    public function user()
    {
        return $this->hasOne(UserModel::class, 'id', 'uid')->with(['profile'])->field('id,nick_name,account');
    }
}